package com.newblog.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.newblog.mapper.UserMapper;
import com.newblog.model.userinfo;
import com.newblog.model.vo.UserInfoVo;
import com.newblog.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;

/**
 * Created with Intellij IDEA.
 * Description;
 * UserInfo:TQ02
 * Data:2023-12-07
 * Time:20:29
 * Text：
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, userinfo> implements UserService {
    @Autowired
    private UserMapper user;

    @Override
    public UserInfoVo getUserById(int id) {
       return user.getUserById(id);
    }
}
